﻿using SqlScriptVault.Model;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace SqlScriptVault.Services
{
    public interface IMessageDisplayService
    {
        void ShowErrorMessage(string message);

        MessageBoxResult ShowQuestion(string message, string caption);

        Script OpenScript(string fileName);

        void OpenConnectionManager();

        ServerGroup OpenServerGroup();

        Server OpenServer();

        void OpenExecution(ScriptVault scriptVault);

        void OpenExecutionProgress(ScriptVaultExecution scriptVaultExecution, Dictionary<Server, SqlCredential> sqlCredentials);

        SqlCredential ShowLoginWindow(Server server);

        void OpenHistory(ScriptVault scriptVault);
    }
}
